package com.senriot.quickup.service.dto

import com.senriot.cloud.common.AbstractEntityDTO
import org.jeecgframework.poi.excel.annotation.Excel
import java.math.BigDecimal

data class StoreDTO(
    // 创建者
    var ownerId: String? = null,

    // 所属代理
    var agencyId: String? = null,

    // 如果有上级代理
    var provinceAgencyId: String? = null,

    // 操作员的id集合
//        var opIds: ArrayList<String>? = null,

    // 删除标记
    var isRemove: Boolean = false,

    var contact: String? = null,

    var phone: String? = null,

    /**
     * 门店所绑定的机器数量
     */
    var deviceCount: Long = 0,

    /**
     * 销售数量
     */
    var selloutCount: Long = 0,

    /**
     * 总共价值
     */
    var totalValue: BigDecimal? = null,

    var isImmutable: Boolean = false,


    var provinceId: Int? = null,

    @Excel(name = "省", width = 20.0)
    var provinceName: String? = null,

    var cityId: Int? = null,


    @Excel(name = "市", width = 20.0)
    var cityName: String? = null,

    var districtId: Int? = null,

    @Excel(name = "区/县", width = 20.0)
    var districtName: String? = null,

    @Excel(name = "详细地址", width = 60.0)
    var address: String? = null

) : AbstractEntityDTO<Long>()
